package org.siam.impl.data.validators {
	
	import mx.core.IFactory;
	
	import org.siam.core.data.IDataContext;
	import org.siam.core.data.validators.IValidatorContext;
	import org.siam.core.data.validators.IValidatorsManager;
	import org.siam.impl.data.DataManager;

	public class ValidatorsManager extends DataManager implements IValidatorsManager {
		
		public function ValidatorsManager() {
		}

		public function find(id:String):IValidatorContext {
			return super.findContext(id) as IValidatorContext;
		}

		override protected function createContext(factory:IFactory, metadata:Object):IDataContext {
			return new ValidatorContext(factory);
		}
	}
}